﻿using System.Collections.Generic;
using Twins.Interface;

namespace Twins.Classes
{
    public class AdderLineCode : IAdderLineCode
    {
        public void AddLineCode(List<ILineCode> duplicationHashsLineCode, ILineCode lineCode)
        {
            if (lineCode.IsHighLighting) return;
            lineCode.IsHighLighting = true;
            duplicationHashsLineCode.Add(lineCode);
        }
    }
}